package io.renren.dto;

import io.renren.common.utils.MyStringUtils;

/**
 * @author winson
 * @CREATE 10 22:09
 */
public class ArticleListDto {

    private Integer articleId;

    private Integer isTop;

    private String title;

    private Integer viewCount;

    private String pic;

    private Integer evaluateCount;

    private Integer isVideo;

    public Integer getIsTop() {
        return isTop;
    }

    public void setIsTop(Integer isTop) {
        this.isTop = isTop;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Integer getEvaluateCount() {
        return evaluateCount;
    }

    public void setEvaluateCount(Integer evaluateCount) {
        this.evaluateCount = evaluateCount;
    }

    public Integer getIsVideo() {
        return isVideo;
    }

    public void setIsVideo(Integer isVideo) {
        this.isVideo = isVideo;
    }

    public Integer getArticleId() {
        return articleId;
    }

    public void setArticleId(Integer articleId) {
        this.articleId = articleId;
    }

    public String getViewStr(){
        return MyStringUtils.numToStr( viewCount );
    }

    public String getEvaluateStr(){
        return  MyStringUtils.numToStr( evaluateCount );
    }
}
